/*  This file is part of the comicconquer project
    Copyright (C) 2010 Reach <reach334@gmail.com>

    ComicConquer is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public 
    License along with this software.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef GESTUREVIEWWIDGET_H
#define GESTUREVIEWWIDGET_H

#include "mist.h"
#include "CoListDlg.h"

class GestureViewWidget : public QWidget
{
    Q_OBJECT

    //-- constructor
public:
    GestureViewWidget(int gesture, CoListItem* operItem, QWidget* parent = 0);
    
    //-- public methods
public:
    QString gestureString();

    //-- public members
public:
    int m_gesture;
    CoListItem* m_operItem;

    //-- signals
    signals:
    void deleted(GestureViewWidget* column);

    //-- private slots
private slots:
    void recordClicked();
    void deleteClicked();
    void operationClicked();

    //-- private members
private:
    ui::OnyxLabel* m_label;
    ui::OnyxPushButton* m_bRecord;
    ui::OnyxPushButton* m_bDelete;
    ui::OnyxPushButton* m_bOperation;

};

#endif // GESTUREVIEWWIDGET_H
